/*
 * CustomStyle.java  0.4.0 / Oct 25, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.swing.styles;

/**
 * Custom Style.
 *
 * @author Slobodan Vrkacevic
 * @version 0.4.0
 */
public class CustomStyle extends AbstractStyle {

// Public Constructors. --------------------------------------------------------

  /**
   * Constructs new SystemStyle object.
   *
   * @param name the style name
   * @param theme the style theme
   */
  public CustomStyle(String name, Theme theme) {
    super(name, null, theme);
  }

  /**
   * Constructs new SystemStyle object.
   *
   * @param name the style name
   * @param description the style description
   * @param theme the style theme
   */
  public CustomStyle(String name, String description, Theme theme) {
    super(name, description, theme);
  }

// Overridden Methods. ---------------------------------------------------------

  /**
   * {@inheritDoc}
   */
  public boolean isSupported() {
    return true;
  }

  /**
   * {@inheritDoc}
   */
  public boolean isPlatformStyle() {
    return true;
  }

}
